#一维数组的索引
import numpy as np
b=np.arange(5,10)
print(b[1],b[-1],b[:2],b[1:3])
print(b[[0,1,3]])


